home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Popular Request
/
By Popular Request (Arsenal Computer)(SysOptics Distribution System).ISO
/
amiga3
/
paddltoy.lha
/
PaddleToy.doc
< prev
next >
Wrap
Text File
|
1993-10-28
|
5KB
|
129 lines
###### ## ## ## ######
## ## ## ## ## ##
## ## #### ##### ##### ## #### ## #### ## ##
###### ## ## ## ## ## ## ## ## ## ## ## ## ##
## ##### ## ## ## ## ## ###### ## ## ## ## ##
## ## ## ## ## ## ## ## ## ## ## ## ####
## ##### #### #### ## #### ## #### ##
###
Version 1.00
QUICK INFO
PaddleToy is a program to test proportional devices plugged to the second
mouse port. If you are building your own paddles or proportional joystick
this is a must for you to test and tune-up your devices.
It has enough bells and whistles for my taste, but one of the limitations
is that it works only with the built-in second mouse port: anyway I think
it will be enough for the 99.99% of the programmers among you.
I'll be a little brief, because I think the program is enough intuitive...
USAGE
You can either run PaddleToy from CLI or from Workbench.
If nobody else is using the second mouse port the program's graphical user
interface will appear.
If nothing is plugged in the second mouse port you may notice some weird
and unstable values, this is normal.
TO QUIT THE PROGRAM click on the close gadget of the PaddleToy window.
WINDOW TITLEBAR: I added a vertical blank interrupt server to read the
potentiometers' values. This server will be active only
when the window is active; that is the why of the "server (in)active"
sentence in the titlebar.
TWO ANALOG BARS: The leftmost shows DATRX (pin 5), the rightmost shows
DATRY (pin 9). When the bar moves to the left the
impedance is reducing (going to 0).
TWO DIGITAL DISPLAYS: The numbers below the two bars show the hardware
registers contents (AND NOT the impedance). You
can toggle between decimal and hexadecimal numeric base by clicking on
each display.
"SAMPLING DELAY" GADGET: On slow Amigas the sampling may take too much
processor time. You can tell the program to run
slower and leave processor time to other tasks. If you do so, the
sampling may look quite "glitching". Some good delay values may be 1, 2
or 3 (valid values, however, are all the numbers between 0 and 1000).
The delay value is the number of IntuiTicks to wait between a sample and
another. If you temporary need processor time just inactive PaddleToy
window and the task will go to sleep until the window will be reactivated.
SYSTEM REQUEST: This requester will appear only if the second mouse port
is in use by another task.
If the POTGO word appears in the first line of the message's body the
low-level allocation failed (potgo.resource: someone is already using a
proportional control); otherwise there has been a problem with high-level
allocation (gameport.device: someone is using the port).
If this requester appears, you may click on the "Gosh!" gadget or simply
click outside the requester to immediately quit the program.
BUGS
I Tested PaddleToy on a A500, A1200 and a A3000 under kickstarts 2.0/3.0
without any problem, but I cannot figure out why my server (at priority
-1) hangs the vertical blank interrupt server chain under kickstart 1.3.
In other words prepare to reboot your Amiga if you run PaddleToy under 1.3
Here is the server source: as you can see D0 is correct...
CNOP 0,BYTESPERLONG ;TOT R W (TOT=READ*4+WRITE*4)
server move.l pot0dat(a0),(a1) ;28 (5+2) A1=ptr to shared memory
move.w #POTF_START,potgo(a0) ;16 (3+1)
moveq #0,d0 ; 4 (1+0) SERVER CHAIN
rts ;16 (4+0)
DISTRIBUTION
This package is released under the concept of freeware, the package must
be distributed as one whole. The distributor may charge a fee up to the
cost of the medium for the entire package.
This package, or part of it, cannot be included with commercial
distributions without written permission from me.
This document is a written permission to include the package in the Fred
Fish collection.
NO WARRANTY
This package is provided as is, without warranty of any kind, either
expressed or implied.
Should the package prove defective, you assume the entire cost of all
necessary servicing, repair or correction even if I have been advised of
the possibility of such damages.
I'm not responsible of the results of the use of the package.
SUPPORT
If you have any suggestions, bug reports, or wish to let me know something
about the package feel free to contact me at the E-Mail addresses below.
Fidonet.org: Nicola Soggia (2:331/315.3)
Amiganet.ftn: Nicola Soggia (39:101/102.3)
Internet/Arpa: Nicola.Soggia@p3.f315.n331.z2.fidonet.org
Usenet/Sublink: Nicola.Soggia@SkyLink.sublink.org
/\/ / /-<